<template>
     <div class="form-container">
          <el-form label-width="100px">
            <el-form-item label="客户编号">
              <div>{{ info.number }}</div>
            </el-form-item>
            <el-form-item label="客户姓名">
              <div>{{ info.name }}</div>
            </el-form-item>
            <el-form-item label="客户昵称">
              <div>{{ info.nickname }}</div>
            </el-form-item>
            <el-form-item label="手机号码">
              <div>{{ info.phone }}</div>
            </el-form-item>
            <el-form-item label="注册日期">
              <div>{{ parseTime(info.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</div>
            </el-form-item>

            <el-form-item label="客户来源">
              <div>{{ info.sourceName }}</div>
            </el-form-item>
            <el-form-item label="推荐人">
            <!-- <span style="color: red;">{{ info.parentName }}</span> -->
            <template slot-scope="scope">
          <div style="display: flex; ">
            <span style="color: red;">{{ info.parentName }}</span>
            <dict-tag :options="dict.type.sys_user_type" :value="info.parentType" />

          </div>
        </template>
            </el-form-item>

          </el-form>
        </div>
</template>

<script>
export default {
  dicts: ['sys_user_type'],
	data() {
		return {
	
		}
	},
	name: 'basicInfo',
    props: {
    /* 编辑器的内容 */
    info: {
      type: Object,
      default: {},
    },

  },
	methods: {
		
	},

	computed: {
	
	}
}
</script>
